package com.lx.patterns.prototype.demo2;

/**
 * @ClassName Client
 * @Description: //todo
 * @Author: 落雪
 * @CreateDate: 2025/1/15 07:29
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/15 07:29
 * @UpdateRemark:
 * @Version: 1.0
 */
public class Client {

    public static void main(String[] args) throws CloneNotSupportedException {
        Citation citation = new Citation();

        Citation clone = citation.clone();

        citation.setName("小明");

        clone.setName("小红");

        citation.show();
        clone.show();

    }
}
